# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=sbc
pkgver=1.3
pkgrel=1
pkgdesc="Bluetooth Subband Codec (SBC) library"
arch=('i686' 'x86_64')
url="http://www.bluez.org/"
license=('GPL' 'LGPL')
depends=('glibc')
source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.xz)
md5sums=('2d8b7841f2c11ab287718d562f2b981c')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static --disable-tester
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
